/*
function useState<Type>(initialState: Type): [Type, (newState: Type) => void] {
    let state: Type = initialState

    function setState(newState: Type): void {
        state = newState
    }

    return [state, setState]
}

const [count, setSCount] = useState<number>(100)
const [message, setMessage] = useState<string>("哈哈哈哈")
console.log(count, message)*/
